package io.yunho.yunho.interview.one.fatherandson;

/**
 * @author: Jason
 * @date: 2021/3/10 8:32
 * @description:
 */
public class ExamClass {
    static int s;
    int i;
    int j;
    {
        int i = 1;
        i++;
        j++;
        s++;
    }
    public void test(int j){
        j++;
        i++;
        s++;
    }
    public static void main(String[] args) {
        ExamClass examClass = new ExamClass();
        ExamClass examClass1 = new ExamClass();
        examClass.test(10);
        examClass.test(20);
        examClass1.test(30);
        System.out.println(examClass.i+"_"+examClass.j+"_"+examClass.s);
        System.out.println(examClass1.i+"_"+examClass1.j+"_"+examClass1.s);
    }
}
